<template>
  <div class="voluntary">
    <voluntary-item v-for="item in voluntaries" :key="item.id" :voluntary="item" />
  </div>
</template>

<script>
  import VoluntaryItem from './VoluntaryItem'
  export default {
    name: 'Voluntary',
    components: {
      VoluntaryItem
    },
    props: {
      voluntaries: Array
    }
  }
</script>

<style scoped>
  .voluntary {
    display: flex;
    flex-wrap: wrap;
  }
</style>